#include "camprec.h"
#include "TEST.h"

#include "MyApp.h"

CTEST::CTEST(void)
{
}


CTEST::~CTEST(void)
{
}

void CTEST::test ()
{
	return;
	CCAMAlgebra alg;
	std::vector<double> arg; arg.resize(1,2);
	//double sin_ = sin ((double)M_PI/6);
	double deriv_f = alg.GetDeriv_chebyshev (arg, MakeDelegate(this, &CTEST::f),0,1,6,1);
};

double CTEST::f (const std::vector<double> &a)
{
	double x = a[0];

	return x*x + 2*x;
}